# Contributor: Matthew.T.Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew.T.Hoare <matthew.t.hoare@gmail.com>
pkgname=autotiling
pkgver=1.0
pkgrel=0
pkgdesc="Script for sway and i3 to automatically switch the horizontal/vertical window split orientation"
url="https://github.com/nwg-piotr/autotiling"
arch="noarch"
options="!check" # no checks
license="GPL-3.0-or-later"
depends="py3-i3ipc"
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/autotiling/archive/v$pkgver.tar.gz"

package() {
	install -D -t "$pkgdir"/usr/lib/"$pkgname" autotiling.py
	install -D -t "$pkgdir"/usr/bin autotiling
}

sha512sums="067f70e05c177a7532b33887b9817558b0f737edca4a0931e58441d2d7ffa3b360779246d25649ab649bad489dded89c8b1cb2e31a48be8749ccaa3ad88db380  autotiling-1.0.tar.gz"
